package com.itheima.mall.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 首页轮播广告表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sms_home_advertise")
public class HomeAdvertise {

    private Long id;
    private String name;
    private Integer type;       //轮播位置：0->PC首页轮播；1->app首页轮播
    private String pic;
    private Date startTime;
    private Date endTime;
    private Integer status;         //上下线状态：0->下线；1->上线
    private Integer clickCount;     //点击数
    private Integer orderCount;     //下单数
    private String url;             //链接地址
    private String note;            //备注
    private Integer sort;           //排序

}
